Optimal. Leaf size=138 \[ -\frac {2 (B d-A e) (a+b x)^{5/2}}{5 e (b d-a e) (d+e x)^{5/2}}-\frac {2 B (a+b x)^{3/2}}{3 e^2 (d+e x)^{3/2}}-\frac {2 b B \sqrt {a+b x}}{e^3 \sqrt {d+e x}}+\frac {2 b^{3/2} B \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{e^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 138, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 5, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {79, 49, 65, 223,
212} \begin {gather*} -\frac {2 (a+b x)^{5/2} (B d-A e)}{5 e (d+e x)^{5/2} (b d-a e)}+\frac {2 b^{3/2} B \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{e^{7/2}}-\frac {2 b B \sqrt {a+b x}}{e^3 \sqrt {d+e x}}-\frac {2 B (a+b x)^{3/2}}{3 e^2 (d+e x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 49
Rule 65
Rule 79
Rule 212
Rule 223
Rubi steps
\begin {align*} \int \frac {(a+b x)^{3/2} (A+B x)}{(d+e x)^{7/2}} \, dx &=-\frac {2 (B d-A e) (a+b x)^{5/2}}{5 e (b d-a e) (d+e x)^{5/2}}+\frac {B \int \frac {(a+b x)^{3/2}}{(d+e x)^{5/2}} \, dx}{e}\\ &=-\frac {2 (B d-A e) (a+b x)^{5/2}}{5 e (b d-a e) (d+e x)^{5/2}}-\frac {2 B (a+b x)^{3/2}}{3 e^2 (d+e x)^{3/2}}+\frac {(b B) \int \frac {\sqrt {a+b x}}{(d+e x)^{3/2}} \, dx}{e^2}\\ &=-\frac {2 (B d-A e) (a+b x)^{5/2}}{5 e (b d-a e) (d+e x)^{5/2}}-\frac {2 B (a+b x)^{3/2}}{3 e^2 (d+e x)^{3/2}}-\frac {2 b B \sqrt {a+b x}}{e^3 \sqrt {d+e x}}+\frac {\left (b^2 B\right ) \int \frac {1}{\sqrt {a+b x} \sqrt {d+e x}} \, dx}{e^3}\\ &=-\frac {2 (B d-A e) (a+b x)^{5/2}}{5 e (b d-a e) (d+e x)^{5/2}}-\frac {2 B (a+b x)^{3/2}}{3 e^2 (d+e x)^{3/2}}-\frac {2 b B \sqrt {a+b x}}{e^3 \sqrt {d+e x}}+\frac {(2 b B) \text {Subst}\left (\int \frac {1}{\sqrt {d-\frac {a e}{b}+\frac {e x^2}{b}}} \, dx,x,\sqrt {a+b x}\right )}{e^3}\\ &=-\frac {2 (B d-A e) (a+b x)^{5/2}}{5 e (b d-a e) (d+e x)^{5/2}}-\frac {2 B (a+b x)^{3/2}}{3 e^2 (d+e x)^{3/2}}-\frac {2 b B \sqrt {a+b x}}{e^3 \sqrt {d+e x}}+\frac {(2 b B) \text {Subst}\left (\int \frac {1}{1-\frac {e x^2}{b}} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {d+e x}}\right )}{e^3}\\ &=-\frac {2 (B d-A e) (a+b x)^{5/2}}{5 e (b d-a e) (d+e x)^{5/2}}-\frac {2 B (a+b x)^{3/2}}{3 e^2 (d+e x)^{3/2}}-\frac {2 b B \sqrt {a+b x}}{e^3 \sqrt {d+e x}}+\frac {2 b^{3/2} B \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{e^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.28, size = 171, normalized size = 1.24 \begin {gather*} -\frac {2 (a+b x)^{5/2} \left (-3 B d e^2+3 A e^3-\frac {5 b B d e (d+e x)}{a+b x}+\frac {5 a B e^2 (d+e x)}{a+b x}-\frac {15 b^2 B d (d+e x)^2}{(a+b x)^2}+\frac {15 a b B e (d+e x)^2}{(a+b x)^2}\right )}{15 e^3 (-b d+a e) (d+e x)^{5/2}}+\frac {2 b^{3/2} B \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {e} \sqrt {a+b x}}\right )}{e^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(779\) vs.
\(2(110)=220\).
time = 0.09, size = 780, normalized size = 5.65
method | result | size |
default | \(-\frac {\sqrt {b x +a}\, \left (-15 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a \,b^{2} e^{4} x^{3}+15 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) b^{3} d \,e^{3} x^{3}-45 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a \,b^{2} d \,e^{3} x^{2}+45 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) b^{3} d^{2} e^{2} x^{2}+6 A \,b^{2} e^{3} x^{2} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}-45 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a \,b^{2} d^{2} e^{2} x +45 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) b^{3} d^{3} e x +40 B a b \,e^{3} x^{2} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}-46 B \,b^{2} d \,e^{2} x^{2} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+12 A a b \,e^{3} x \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}-15 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a \,b^{2} d^{3} e +15 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) b^{3} d^{4}+10 B \,a^{2} e^{3} x \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+48 B a b d \,e^{2} x \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}-70 B \,b^{2} d^{2} e x \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+6 A \,a^{2} e^{3} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+4 B \,a^{2} d \,e^{2} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+20 B a b \,d^{2} e \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}-30 B \,b^{2} d^{3} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}\right )}{15 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \left (a e -b d \right ) \sqrt {b e}\, \left (e x +d \right )^{\frac {5}{2}} e^{3}}\) | \(780\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 357 vs.
\(2 (111) = 222\).
time = 5.30, size = 730, normalized size = 5.29 \begin {gather*} \left [\frac {15 \, {\left (B b^{2} d^{4} - B a b x^{3} e^{4} + {\left (B b^{2} d x^{3} - 3 \, B a b d x^{2}\right )} e^{3} + 3 \, {\left (B b^{2} d^{2} x^{2} - B a b d^{2} x\right )} e^{2} + {\left (3 \, B b^{2} d^{3} x - B a b d^{3}\right )} e\right )} \sqrt {b} e^{\left (-\frac {1}{2}\right )} \log \left (b^{2} d^{2} + 4 \, {\left (b d e + {\left (2 \, b x + a\right )} e^{2}\right )} \sqrt {b x + a} \sqrt {x e + d} \sqrt {b} e^{\left (-\frac {1}{2}\right )} + {\left (8 \, b^{2} x^{2} + 8 \, a b x + a^{2}\right )} e^{2} + 2 \, {\left (4 \, b^{2} d x + 3 \, a b d\right )} e\right ) - 4 \, {\left (15 \, B b^{2} d^{3} - {\left (3 \, A a^{2} + {\left (20 \, B a b + 3 \, A b^{2}\right )} x^{2} + {\left (5 \, B a^{2} + 6 \, A a b\right )} x\right )} e^{3} + {\left (23 \, B b^{2} d x^{2} - 24 \, B a b d x - 2 \, B a^{2} d\right )} e^{2} + 5 \, {\left (7 \, B b^{2} d^{2} x - 2 \, B a b d^{2}\right )} e\right )} \sqrt {b x + a} \sqrt {x e + d}}{30 \, {\left (b d^{4} e^{3} - a x^{3} e^{7} + {\left (b d x^{3} - 3 \, a d x^{2}\right )} e^{6} + 3 \, {\left (b d^{2} x^{2} - a d^{2} x\right )} e^{5} + {\left (3 \, b d^{3} x - a d^{3}\right )} e^{4}\right )}}, -\frac {15 \, {\left (B b^{2} d^{4} - B a b x^{3} e^{4} + {\left (B b^{2} d x^{3} - 3 \, B a b d x^{2}\right )} e^{3} + 3 \, {\left (B b^{2} d^{2} x^{2} - B a b d^{2} x\right )} e^{2} + {\left (3 \, B b^{2} d^{3} x - B a b d^{3}\right )} e\right )} \sqrt {-b e^{\left (-1\right )}} \arctan \left (\frac {{\left (b d + {\left (2 \, b x + a\right )} e\right )} \sqrt {b x + a} \sqrt {x e + d} \sqrt {-b e^{\left (-1\right )}}}{2 \, {\left (b^{2} d x + a b d + {\left (b^{2} x^{2} + a b x\right )} e\right )}}\right ) + 2 \, {\left (15 \, B b^{2} d^{3} - {\left (3 \, A a^{2} + {\left (20 \, B a b + 3 \, A b^{2}\right )} x^{2} + {\left (5 \, B a^{2} + 6 \, A a b\right )} x\right )} e^{3} + {\left (23 \, B b^{2} d x^{2} - 24 \, B a b d x - 2 \, B a^{2} d\right )} e^{2} + 5 \, {\left (7 \, B b^{2} d^{2} x - 2 \, B a b d^{2}\right )} e\right )} \sqrt {b x + a} \sqrt {x e + d}}{15 \, {\left (b d^{4} e^{3} - a x^{3} e^{7} + {\left (b d x^{3} - 3 \, a d x^{2}\right )} e^{6} + 3 \, {\left (b d^{2} x^{2} - a d^{2} x\right )} e^{5} + {\left (3 \, b d^{3} x - a d^{3}\right )} e^{4}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 375 vs.
\(2 (111) = 222\).
time = 2.14, size = 375, normalized size = 2.72 \begin {gather*} -2 \, B \sqrt {b} {\left | b \right |} e^{\left (-\frac {7}{2}\right )} \log \left ({\left | -\sqrt {b x + a} \sqrt {b} e^{\frac {1}{2}} + \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} \right |}\right ) - \frac {2 \, {\left ({\left (b x + a\right )} {\left (\frac {{\left (23 \, B b^{7} d^{2} {\left | b \right |} e^{4} - 43 \, B a b^{6} d {\left | b \right |} e^{5} - 3 \, A b^{7} d {\left | b \right |} e^{5} + 20 \, B a^{2} b^{5} {\left | b \right |} e^{6} + 3 \, A a b^{6} {\left | b \right |} e^{6}\right )} {\left (b x + a\right )}}{b^{4} d^{2} e^{5} - 2 \, a b^{3} d e^{6} + a^{2} b^{2} e^{7}} + \frac {35 \, {\left (B b^{8} d^{3} {\left | b \right |} e^{3} - 3 \, B a b^{7} d^{2} {\left | b \right |} e^{4} + 3 \, B a^{2} b^{6} d {\left | b \right |} e^{5} - B a^{3} b^{5} {\left | b \right |} e^{6}\right )}}{b^{4} d^{2} e^{5} - 2 \, a b^{3} d e^{6} + a^{2} b^{2} e^{7}}\right )} + \frac {15 \, {\left (B b^{9} d^{4} {\left | b \right |} e^{2} - 4 \, B a b^{8} d^{3} {\left | b \right |} e^{3} + 6 \, B a^{2} b^{7} d^{2} {\left | b \right |} e^{4} - 4 \, B a^{3} b^{6} d {\left | b \right |} e^{5} + B a^{4} b^{5} {\left | b \right |} e^{6}\right )}}{b^{4} d^{2} e^{5} - 2 \, a b^{3} d e^{6} + a^{2} b^{2} e^{7}}\right )} \sqrt {b x + a}}{15 \, {\left (b^{2} d + {\left (b x + a\right )} b e - a b e\right )}^{\frac {5}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (A+B\,x\right )\,{\left (a+b\,x\right )}^{3/2}}{{\left (d+e\,x\right )}^{7/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________